﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public  class ResponseBodyInfo<T> where T:class
    {
        /// <summary>
        /// 返回码
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "code")]
        public string Code { get; set; }
        /// <summary>
        /// 返回码描述信息
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "msg")]
        public string Msg { get; set; }

        /// <summary>
        /// 返回的业务数据，json格式
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "data")]
        public T Data { get; set; }
    }
}
